package com.vdong.restful.service;


import com.vdong.restful.api.request.CancelOrderRequest;
import com.vdong.restful.api.request.OOrderRequest;
import com.vdong.restful.api.request.OrderRequest;
import com.vdong.restful.api.response.Response;

/**
 * 电子订单和预约订单
 *
 * @author liangwei
 */
public interface OrderApiService {

    /**
     * 电子面单
     *
     * @param orderRequest
     * @return
     */
    Response downOrder(OrderRequest orderRequest, String key);

    /**
     * 通知预约
     *
     * @return
     */
    Response noticeOrder(OOrderRequest oOrderRequest, String key);

    Response cancelOrder(CancelOrderRequest cancelOrderRequest);
}
